<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<% String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <base href="<%=basePath%>">
    <title>交易查询</title>
    <script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/bs.css"/>
    <link rel="stylesheet" href="css/addcart.css"/>

</head>
<body>

<jsp:include page="top.jsp"/>
<div class="container" style="border: 4px solid #f5f5f5;">
    <div class="tip_div">

            <h1>账单详情</h1>

        <div class="things">
            <p>
                <span>支付金额</span>
                <span class="red">￥<fmt:formatNumber type="number" value="${total_amount}" pattern="0.00"/></span>
            </p>
        </div>
        <br/>
        <div class="things">
            <p>
                <span>商品说明</span>
                <span class="red">${detail}</span>
            </p>
        </div>    <br/>
        <div class="things">
            <p>
                <span>创建时间</span>
                <span class="red"><fmt:formatDate value="${send_pay_date}" pattern="yyyy-MM-dd HH:mm:ss"/></span>
            </p>
        </div>    <br/>
        <div class="things">
            <p>
                <span>支付宝订单号</span>
                <span class="red">${trade_no}</span>
            </p>
        </div>    <br/>

    </div>
    <br/>    <br/>    <br/>    <br/>    <br/>
    <div class="next_div">

        <a href="order/list" class="toShopping">返回订单</a>
    </div>
</div>
</body>
</html>